import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPlugin from "pinia-plugin-persistedstate";
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import './assets/main.css'
import "@/router/dynamicRouter";
import "../public/iconfont/iconfont.css"
import { i18n } from "@/i18n";
import 'nprogress/nprogress.css' 

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPlugin)
app.use(pinia)
app.use(router)
app.use(i18n)
app.mount('#app')
